package com.xb.cloud.user.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EndUserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EndUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(Long value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(Long value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(Long value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(Long value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(Long value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<Long> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<Long> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(Long value1, Long value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(Long value1, Long value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andPhoneNumIsNull() {
            addCriterion("phone_num is null");
            return (Criteria) this;
        }

        public Criteria andPhoneNumIsNotNull() {
            addCriterion("phone_num is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneNumEqualTo(String value) {
            addCriterion("phone_num =", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumNotEqualTo(String value) {
            addCriterion("phone_num <>", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumGreaterThan(String value) {
            addCriterion("phone_num >", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumGreaterThanOrEqualTo(String value) {
            addCriterion("phone_num >=", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumLessThan(String value) {
            addCriterion("phone_num <", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumLessThanOrEqualTo(String value) {
            addCriterion("phone_num <=", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumLike(String value) {
            addCriterion("phone_num like", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumNotLike(String value) {
            addCriterion("phone_num not like", value, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumIn(List<String> values) {
            addCriterion("phone_num in", values, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumNotIn(List<String> values) {
            addCriterion("phone_num not in", values, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumBetween(String value1, String value2) {
            addCriterion("phone_num between", value1, value2, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andPhoneNumNotBetween(String value1, String value2) {
            addCriterion("phone_num not between", value1, value2, "phoneNum");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameIsNull() {
            addCriterion("end_user_nick_name is null");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameIsNotNull() {
            addCriterion("end_user_nick_name is not null");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameEqualTo(String value) {
            addCriterion("end_user_nick_name =", value, "endUserNickName");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameNotEqualTo(String value) {
            addCriterion("end_user_nick_name <>", value, "endUserNickName");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameGreaterThan(String value) {
            addCriterion("end_user_nick_name >", value, "endUserNickName");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameGreaterThanOrEqualTo(String value) {
            addCriterion("end_user_nick_name >=", value, "endUserNickName");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameLessThan(String value) {
            addCriterion("end_user_nick_name <", value, "endUserNickName");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameLessThanOrEqualTo(String value) {
            addCriterion("end_user_nick_name <=", value, "endUserNickName");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameLike(String value) {
            addCriterion("end_user_nick_name like", value, "endUserNickName");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameNotLike(String value) {
            addCriterion("end_user_nick_name not like", value, "endUserNickName");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameIn(List<String> values) {
            addCriterion("end_user_nick_name in", values, "endUserNickName");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameNotIn(List<String> values) {
            addCriterion("end_user_nick_name not in", values, "endUserNickName");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameBetween(String value1, String value2) {
            addCriterion("end_user_nick_name between", value1, value2, "endUserNickName");
            return (Criteria) this;
        }

        public Criteria andEndUserNickNameNotBetween(String value1, String value2) {
            addCriterion("end_user_nick_name not between", value1, value2, "endUserNickName");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordIsNull() {
            addCriterion("end_user_password is null");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordIsNotNull() {
            addCriterion("end_user_password is not null");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordEqualTo(String value) {
            addCriterion("end_user_password =", value, "endUserPassword");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordNotEqualTo(String value) {
            addCriterion("end_user_password <>", value, "endUserPassword");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordGreaterThan(String value) {
            addCriterion("end_user_password >", value, "endUserPassword");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("end_user_password >=", value, "endUserPassword");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordLessThan(String value) {
            addCriterion("end_user_password <", value, "endUserPassword");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordLessThanOrEqualTo(String value) {
            addCriterion("end_user_password <=", value, "endUserPassword");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordLike(String value) {
            addCriterion("end_user_password like", value, "endUserPassword");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordNotLike(String value) {
            addCriterion("end_user_password not like", value, "endUserPassword");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordIn(List<String> values) {
            addCriterion("end_user_password in", values, "endUserPassword");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordNotIn(List<String> values) {
            addCriterion("end_user_password not in", values, "endUserPassword");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordBetween(String value1, String value2) {
            addCriterion("end_user_password between", value1, value2, "endUserPassword");
            return (Criteria) this;
        }

        public Criteria andEndUserPasswordNotBetween(String value1, String value2) {
            addCriterion("end_user_password not between", value1, value2, "endUserPassword");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlIsNull() {
            addCriterion("end_user_image_url is null");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlIsNotNull() {
            addCriterion("end_user_image_url is not null");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlEqualTo(String value) {
            addCriterion("end_user_image_url =", value, "endUserImageUrl");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlNotEqualTo(String value) {
            addCriterion("end_user_image_url <>", value, "endUserImageUrl");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlGreaterThan(String value) {
            addCriterion("end_user_image_url >", value, "endUserImageUrl");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlGreaterThanOrEqualTo(String value) {
            addCriterion("end_user_image_url >=", value, "endUserImageUrl");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlLessThan(String value) {
            addCriterion("end_user_image_url <", value, "endUserImageUrl");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlLessThanOrEqualTo(String value) {
            addCriterion("end_user_image_url <=", value, "endUserImageUrl");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlLike(String value) {
            addCriterion("end_user_image_url like", value, "endUserImageUrl");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlNotLike(String value) {
            addCriterion("end_user_image_url not like", value, "endUserImageUrl");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlIn(List<String> values) {
            addCriterion("end_user_image_url in", values, "endUserImageUrl");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlNotIn(List<String> values) {
            addCriterion("end_user_image_url not in", values, "endUserImageUrl");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlBetween(String value1, String value2) {
            addCriterion("end_user_image_url between", value1, value2, "endUserImageUrl");
            return (Criteria) this;
        }

        public Criteria andEndUserImageUrlNotBetween(String value1, String value2) {
            addCriterion("end_user_image_url not between", value1, value2, "endUserImageUrl");
            return (Criteria) this;
        }

        public Criteria andUserAccountTypeIsNull() {
            addCriterion("user_account_type is null");
            return (Criteria) this;
        }

        public Criteria andUserAccountTypeIsNotNull() {
            addCriterion("user_account_type is not null");
            return (Criteria) this;
        }

        public Criteria andUserAccountTypeEqualTo(Byte value) {
            addCriterion("user_account_type =", value, "userAccountType");
            return (Criteria) this;
        }

        public Criteria andUserAccountTypeNotEqualTo(Byte value) {
            addCriterion("user_account_type <>", value, "userAccountType");
            return (Criteria) this;
        }

        public Criteria andUserAccountTypeGreaterThan(Byte value) {
            addCriterion("user_account_type >", value, "userAccountType");
            return (Criteria) this;
        }

        public Criteria andUserAccountTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("user_account_type >=", value, "userAccountType");
            return (Criteria) this;
        }

        public Criteria andUserAccountTypeLessThan(Byte value) {
            addCriterion("user_account_type <", value, "userAccountType");
            return (Criteria) this;
        }

        public Criteria andUserAccountTypeLessThanOrEqualTo(Byte value) {
            addCriterion("user_account_type <=", value, "userAccountType");
            return (Criteria) this;
        }

        public Criteria andUserAccountTypeIn(List<Byte> values) {
            addCriterion("user_account_type in", values, "userAccountType");
            return (Criteria) this;
        }

        public Criteria andUserAccountTypeNotIn(List<Byte> values) {
            addCriterion("user_account_type not in", values, "userAccountType");
            return (Criteria) this;
        }

        public Criteria andUserAccountTypeBetween(Byte value1, Byte value2) {
            addCriterion("user_account_type between", value1, value2, "userAccountType");
            return (Criteria) this;
        }

        public Criteria andUserAccountTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("user_account_type not between", value1, value2, "userAccountType");
            return (Criteria) this;
        }

        public Criteria andOpenidIsNull() {
            addCriterion("openid is null");
            return (Criteria) this;
        }

        public Criteria andOpenidIsNotNull() {
            addCriterion("openid is not null");
            return (Criteria) this;
        }

        public Criteria andOpenidEqualTo(String value) {
            addCriterion("openid =", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotEqualTo(String value) {
            addCriterion("openid <>", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidGreaterThan(String value) {
            addCriterion("openid >", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidGreaterThanOrEqualTo(String value) {
            addCriterion("openid >=", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLessThan(String value) {
            addCriterion("openid <", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLessThanOrEqualTo(String value) {
            addCriterion("openid <=", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidLike(String value) {
            addCriterion("openid like", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotLike(String value) {
            addCriterion("openid not like", value, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidIn(List<String> values) {
            addCriterion("openid in", values, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotIn(List<String> values) {
            addCriterion("openid not in", values, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidBetween(String value1, String value2) {
            addCriterion("openid between", value1, value2, "openid");
            return (Criteria) this;
        }

        public Criteria andOpenidNotBetween(String value1, String value2) {
            addCriterion("openid not between", value1, value2, "openid");
            return (Criteria) this;
        }

        public Criteria andUnionidIsNull() {
            addCriterion("unionid is null");
            return (Criteria) this;
        }

        public Criteria andUnionidIsNotNull() {
            addCriterion("unionid is not null");
            return (Criteria) this;
        }

        public Criteria andUnionidEqualTo(String value) {
            addCriterion("unionid =", value, "unionid");
            return (Criteria) this;
        }

        public Criteria andUnionidNotEqualTo(String value) {
            addCriterion("unionid <>", value, "unionid");
            return (Criteria) this;
        }

        public Criteria andUnionidGreaterThan(String value) {
            addCriterion("unionid >", value, "unionid");
            return (Criteria) this;
        }

        public Criteria andUnionidGreaterThanOrEqualTo(String value) {
            addCriterion("unionid >=", value, "unionid");
            return (Criteria) this;
        }

        public Criteria andUnionidLessThan(String value) {
            addCriterion("unionid <", value, "unionid");
            return (Criteria) this;
        }

        public Criteria andUnionidLessThanOrEqualTo(String value) {
            addCriterion("unionid <=", value, "unionid");
            return (Criteria) this;
        }

        public Criteria andUnionidLike(String value) {
            addCriterion("unionid like", value, "unionid");
            return (Criteria) this;
        }

        public Criteria andUnionidNotLike(String value) {
            addCriterion("unionid not like", value, "unionid");
            return (Criteria) this;
        }

        public Criteria andUnionidIn(List<String> values) {
            addCriterion("unionid in", values, "unionid");
            return (Criteria) this;
        }

        public Criteria andUnionidNotIn(List<String> values) {
            addCriterion("unionid not in", values, "unionid");
            return (Criteria) this;
        }

        public Criteria andUnionidBetween(String value1, String value2) {
            addCriterion("unionid between", value1, value2, "unionid");
            return (Criteria) this;
        }

        public Criteria andUnionidNotBetween(String value1, String value2) {
            addCriterion("unionid not between", value1, value2, "unionid");
            return (Criteria) this;
        }

        public Criteria andRegistChannelIsNull() {
            addCriterion("regist_channel is null");
            return (Criteria) this;
        }

        public Criteria andRegistChannelIsNotNull() {
            addCriterion("regist_channel is not null");
            return (Criteria) this;
        }

        public Criteria andRegistChannelEqualTo(Integer value) {
            addCriterion("regist_channel =", value, "registChannel");
            return (Criteria) this;
        }

        public Criteria andRegistChannelNotEqualTo(Integer value) {
            addCriterion("regist_channel <>", value, "registChannel");
            return (Criteria) this;
        }

        public Criteria andRegistChannelGreaterThan(Integer value) {
            addCriterion("regist_channel >", value, "registChannel");
            return (Criteria) this;
        }

        public Criteria andRegistChannelGreaterThanOrEqualTo(Integer value) {
            addCriterion("regist_channel >=", value, "registChannel");
            return (Criteria) this;
        }

        public Criteria andRegistChannelLessThan(Integer value) {
            addCriterion("regist_channel <", value, "registChannel");
            return (Criteria) this;
        }

        public Criteria andRegistChannelLessThanOrEqualTo(Integer value) {
            addCriterion("regist_channel <=", value, "registChannel");
            return (Criteria) this;
        }

        public Criteria andRegistChannelIn(List<Integer> values) {
            addCriterion("regist_channel in", values, "registChannel");
            return (Criteria) this;
        }

        public Criteria andRegistChannelNotIn(List<Integer> values) {
            addCriterion("regist_channel not in", values, "registChannel");
            return (Criteria) this;
        }

        public Criteria andRegistChannelBetween(Integer value1, Integer value2) {
            addCriterion("regist_channel between", value1, value2, "registChannel");
            return (Criteria) this;
        }

        public Criteria andRegistChannelNotBetween(Integer value1, Integer value2) {
            addCriterion("regist_channel not between", value1, value2, "registChannel");
            return (Criteria) this;
        }

        public Criteria andEndUserBirthdayIsNull() {
            addCriterion("end_user_birthday is null");
            return (Criteria) this;
        }

        public Criteria andEndUserBirthdayIsNotNull() {
            addCriterion("end_user_birthday is not null");
            return (Criteria) this;
        }

        public Criteria andEndUserBirthdayEqualTo(Date value) {
            addCriterion("end_user_birthday =", value, "endUserBirthday");
            return (Criteria) this;
        }

        public Criteria andEndUserBirthdayNotEqualTo(Date value) {
            addCriterion("end_user_birthday <>", value, "endUserBirthday");
            return (Criteria) this;
        }

        public Criteria andEndUserBirthdayGreaterThan(Date value) {
            addCriterion("end_user_birthday >", value, "endUserBirthday");
            return (Criteria) this;
        }

        public Criteria andEndUserBirthdayGreaterThanOrEqualTo(Date value) {
            addCriterion("end_user_birthday >=", value, "endUserBirthday");
            return (Criteria) this;
        }

        public Criteria andEndUserBirthdayLessThan(Date value) {
            addCriterion("end_user_birthday <", value, "endUserBirthday");
            return (Criteria) this;
        }

        public Criteria andEndUserBirthdayLessThanOrEqualTo(Date value) {
            addCriterion("end_user_birthday <=", value, "endUserBirthday");
            return (Criteria) this;
        }

        public Criteria andEndUserBirthdayIn(List<Date> values) {
            addCriterion("end_user_birthday in", values, "endUserBirthday");
            return (Criteria) this;
        }

        public Criteria andEndUserBirthdayNotIn(List<Date> values) {
            addCriterion("end_user_birthday not in", values, "endUserBirthday");
            return (Criteria) this;
        }

        public Criteria andEndUserBirthdayBetween(Date value1, Date value2) {
            addCriterion("end_user_birthday between", value1, value2, "endUserBirthday");
            return (Criteria) this;
        }

        public Criteria andEndUserBirthdayNotBetween(Date value1, Date value2) {
            addCriterion("end_user_birthday not between", value1, value2, "endUserBirthday");
            return (Criteria) this;
        }

        public Criteria andEndUserLastLoginDateIsNull() {
            addCriterion("end_user_last_login_date is null");
            return (Criteria) this;
        }

        public Criteria andEndUserLastLoginDateIsNotNull() {
            addCriterion("end_user_last_login_date is not null");
            return (Criteria) this;
        }

        public Criteria andEndUserLastLoginDateEqualTo(Date value) {
            addCriterion("end_user_last_login_date =", value, "endUserLastLoginDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastLoginDateNotEqualTo(Date value) {
            addCriterion("end_user_last_login_date <>", value, "endUserLastLoginDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastLoginDateGreaterThan(Date value) {
            addCriterion("end_user_last_login_date >", value, "endUserLastLoginDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastLoginDateGreaterThanOrEqualTo(Date value) {
            addCriterion("end_user_last_login_date >=", value, "endUserLastLoginDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastLoginDateLessThan(Date value) {
            addCriterion("end_user_last_login_date <", value, "endUserLastLoginDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastLoginDateLessThanOrEqualTo(Date value) {
            addCriterion("end_user_last_login_date <=", value, "endUserLastLoginDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastLoginDateIn(List<Date> values) {
            addCriterion("end_user_last_login_date in", values, "endUserLastLoginDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastLoginDateNotIn(List<Date> values) {
            addCriterion("end_user_last_login_date not in", values, "endUserLastLoginDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastLoginDateBetween(Date value1, Date value2) {
            addCriterion("end_user_last_login_date between", value1, value2, "endUserLastLoginDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastLoginDateNotBetween(Date value1, Date value2) {
            addCriterion("end_user_last_login_date not between", value1, value2, "endUserLastLoginDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastBoughtDateIsNull() {
            addCriterion("end_user_last_bought_date is null");
            return (Criteria) this;
        }

        public Criteria andEndUserLastBoughtDateIsNotNull() {
            addCriterion("end_user_last_bought_date is not null");
            return (Criteria) this;
        }

        public Criteria andEndUserLastBoughtDateEqualTo(Date value) {
            addCriterion("end_user_last_bought_date =", value, "endUserLastBoughtDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastBoughtDateNotEqualTo(Date value) {
            addCriterion("end_user_last_bought_date <>", value, "endUserLastBoughtDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastBoughtDateGreaterThan(Date value) {
            addCriterion("end_user_last_bought_date >", value, "endUserLastBoughtDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastBoughtDateGreaterThanOrEqualTo(Date value) {
            addCriterion("end_user_last_bought_date >=", value, "endUserLastBoughtDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastBoughtDateLessThan(Date value) {
            addCriterion("end_user_last_bought_date <", value, "endUserLastBoughtDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastBoughtDateLessThanOrEqualTo(Date value) {
            addCriterion("end_user_last_bought_date <=", value, "endUserLastBoughtDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastBoughtDateIn(List<Date> values) {
            addCriterion("end_user_last_bought_date in", values, "endUserLastBoughtDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastBoughtDateNotIn(List<Date> values) {
            addCriterion("end_user_last_bought_date not in", values, "endUserLastBoughtDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastBoughtDateBetween(Date value1, Date value2) {
            addCriterion("end_user_last_bought_date between", value1, value2, "endUserLastBoughtDate");
            return (Criteria) this;
        }

        public Criteria andEndUserLastBoughtDateNotBetween(Date value1, Date value2) {
            addCriterion("end_user_last_bought_date not between", value1, value2, "endUserLastBoughtDate");
            return (Criteria) this;
        }

        public Criteria andEndUserSexIsNull() {
            addCriterion("end_user_sex is null");
            return (Criteria) this;
        }

        public Criteria andEndUserSexIsNotNull() {
            addCriterion("end_user_sex is not null");
            return (Criteria) this;
        }

        public Criteria andEndUserSexEqualTo(Byte value) {
            addCriterion("end_user_sex =", value, "endUserSex");
            return (Criteria) this;
        }

        public Criteria andEndUserSexNotEqualTo(Byte value) {
            addCriterion("end_user_sex <>", value, "endUserSex");
            return (Criteria) this;
        }

        public Criteria andEndUserSexGreaterThan(Byte value) {
            addCriterion("end_user_sex >", value, "endUserSex");
            return (Criteria) this;
        }

        public Criteria andEndUserSexGreaterThanOrEqualTo(Byte value) {
            addCriterion("end_user_sex >=", value, "endUserSex");
            return (Criteria) this;
        }

        public Criteria andEndUserSexLessThan(Byte value) {
            addCriterion("end_user_sex <", value, "endUserSex");
            return (Criteria) this;
        }

        public Criteria andEndUserSexLessThanOrEqualTo(Byte value) {
            addCriterion("end_user_sex <=", value, "endUserSex");
            return (Criteria) this;
        }

        public Criteria andEndUserSexIn(List<Byte> values) {
            addCriterion("end_user_sex in", values, "endUserSex");
            return (Criteria) this;
        }

        public Criteria andEndUserSexNotIn(List<Byte> values) {
            addCriterion("end_user_sex not in", values, "endUserSex");
            return (Criteria) this;
        }

        public Criteria andEndUserSexBetween(Byte value1, Byte value2) {
            addCriterion("end_user_sex between", value1, value2, "endUserSex");
            return (Criteria) this;
        }

        public Criteria andEndUserSexNotBetween(Byte value1, Byte value2) {
            addCriterion("end_user_sex not between", value1, value2, "endUserSex");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameIsNull() {
            addCriterion("end_user_real_name is null");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameIsNotNull() {
            addCriterion("end_user_real_name is not null");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameEqualTo(String value) {
            addCriterion("end_user_real_name =", value, "endUserRealName");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameNotEqualTo(String value) {
            addCriterion("end_user_real_name <>", value, "endUserRealName");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameGreaterThan(String value) {
            addCriterion("end_user_real_name >", value, "endUserRealName");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameGreaterThanOrEqualTo(String value) {
            addCriterion("end_user_real_name >=", value, "endUserRealName");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameLessThan(String value) {
            addCriterion("end_user_real_name <", value, "endUserRealName");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameLessThanOrEqualTo(String value) {
            addCriterion("end_user_real_name <=", value, "endUserRealName");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameLike(String value) {
            addCriterion("end_user_real_name like", value, "endUserRealName");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameNotLike(String value) {
            addCriterion("end_user_real_name not like", value, "endUserRealName");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameIn(List<String> values) {
            addCriterion("end_user_real_name in", values, "endUserRealName");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameNotIn(List<String> values) {
            addCriterion("end_user_real_name not in", values, "endUserRealName");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameBetween(String value1, String value2) {
            addCriterion("end_user_real_name between", value1, value2, "endUserRealName");
            return (Criteria) this;
        }

        public Criteria andEndUserRealNameNotBetween(String value1, String value2) {
            addCriterion("end_user_real_name not between", value1, value2, "endUserRealName");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkIsNull() {
            addCriterion("end_user_remark is null");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkIsNotNull() {
            addCriterion("end_user_remark is not null");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkEqualTo(String value) {
            addCriterion("end_user_remark =", value, "endUserRemark");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkNotEqualTo(String value) {
            addCriterion("end_user_remark <>", value, "endUserRemark");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkGreaterThan(String value) {
            addCriterion("end_user_remark >", value, "endUserRemark");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("end_user_remark >=", value, "endUserRemark");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkLessThan(String value) {
            addCriterion("end_user_remark <", value, "endUserRemark");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkLessThanOrEqualTo(String value) {
            addCriterion("end_user_remark <=", value, "endUserRemark");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkLike(String value) {
            addCriterion("end_user_remark like", value, "endUserRemark");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkNotLike(String value) {
            addCriterion("end_user_remark not like", value, "endUserRemark");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkIn(List<String> values) {
            addCriterion("end_user_remark in", values, "endUserRemark");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkNotIn(List<String> values) {
            addCriterion("end_user_remark not in", values, "endUserRemark");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkBetween(String value1, String value2) {
            addCriterion("end_user_remark between", value1, value2, "endUserRemark");
            return (Criteria) this;
        }

        public Criteria andEndUserRemarkNotBetween(String value1, String value2) {
            addCriterion("end_user_remark not between", value1, value2, "endUserRemark");
            return (Criteria) this;
        }

        public Criteria andDefaultAddressIdIsNull() {
            addCriterion("default_address_id is null");
            return (Criteria) this;
        }

        public Criteria andDefaultAddressIdIsNotNull() {
            addCriterion("default_address_id is not null");
            return (Criteria) this;
        }

        public Criteria andDefaultAddressIdEqualTo(Long value) {
            addCriterion("default_address_id =", value, "defaultAddressId");
            return (Criteria) this;
        }

        public Criteria andDefaultAddressIdNotEqualTo(Long value) {
            addCriterion("default_address_id <>", value, "defaultAddressId");
            return (Criteria) this;
        }

        public Criteria andDefaultAddressIdGreaterThan(Long value) {
            addCriterion("default_address_id >", value, "defaultAddressId");
            return (Criteria) this;
        }

        public Criteria andDefaultAddressIdGreaterThanOrEqualTo(Long value) {
            addCriterion("default_address_id >=", value, "defaultAddressId");
            return (Criteria) this;
        }

        public Criteria andDefaultAddressIdLessThan(Long value) {
            addCriterion("default_address_id <", value, "defaultAddressId");
            return (Criteria) this;
        }

        public Criteria andDefaultAddressIdLessThanOrEqualTo(Long value) {
            addCriterion("default_address_id <=", value, "defaultAddressId");
            return (Criteria) this;
        }

        public Criteria andDefaultAddressIdIn(List<Long> values) {
            addCriterion("default_address_id in", values, "defaultAddressId");
            return (Criteria) this;
        }

        public Criteria andDefaultAddressIdNotIn(List<Long> values) {
            addCriterion("default_address_id not in", values, "defaultAddressId");
            return (Criteria) this;
        }

        public Criteria andDefaultAddressIdBetween(Long value1, Long value2) {
            addCriterion("default_address_id between", value1, value2, "defaultAddressId");
            return (Criteria) this;
        }

        public Criteria andDefaultAddressIdNotBetween(Long value1, Long value2) {
            addCriterion("default_address_id not between", value1, value2, "defaultAddressId");
            return (Criteria) this;
        }

        public Criteria andLastUsePaymentGatewayIdIsNull() {
            addCriterion("last_use_payment_gateway_id is null");
            return (Criteria) this;
        }

        public Criteria andLastUsePaymentGatewayIdIsNotNull() {
            addCriterion("last_use_payment_gateway_id is not null");
            return (Criteria) this;
        }

        public Criteria andLastUsePaymentGatewayIdEqualTo(Long value) {
            addCriterion("last_use_payment_gateway_id =", value, "lastUsePaymentGatewayId");
            return (Criteria) this;
        }

        public Criteria andLastUsePaymentGatewayIdNotEqualTo(Long value) {
            addCriterion("last_use_payment_gateway_id <>", value, "lastUsePaymentGatewayId");
            return (Criteria) this;
        }

        public Criteria andLastUsePaymentGatewayIdGreaterThan(Long value) {
            addCriterion("last_use_payment_gateway_id >", value, "lastUsePaymentGatewayId");
            return (Criteria) this;
        }

        public Criteria andLastUsePaymentGatewayIdGreaterThanOrEqualTo(Long value) {
            addCriterion("last_use_payment_gateway_id >=", value, "lastUsePaymentGatewayId");
            return (Criteria) this;
        }

        public Criteria andLastUsePaymentGatewayIdLessThan(Long value) {
            addCriterion("last_use_payment_gateway_id <", value, "lastUsePaymentGatewayId");
            return (Criteria) this;
        }

        public Criteria andLastUsePaymentGatewayIdLessThanOrEqualTo(Long value) {
            addCriterion("last_use_payment_gateway_id <=", value, "lastUsePaymentGatewayId");
            return (Criteria) this;
        }

        public Criteria andLastUsePaymentGatewayIdIn(List<Long> values) {
            addCriterion("last_use_payment_gateway_id in", values, "lastUsePaymentGatewayId");
            return (Criteria) this;
        }

        public Criteria andLastUsePaymentGatewayIdNotIn(List<Long> values) {
            addCriterion("last_use_payment_gateway_id not in", values, "lastUsePaymentGatewayId");
            return (Criteria) this;
        }

        public Criteria andLastUsePaymentGatewayIdBetween(Long value1, Long value2) {
            addCriterion("last_use_payment_gateway_id between", value1, value2, "lastUsePaymentGatewayId");
            return (Criteria) this;
        }

        public Criteria andLastUsePaymentGatewayIdNotBetween(Long value1, Long value2) {
            addCriterion("last_use_payment_gateway_id not between", value1, value2, "lastUsePaymentGatewayId");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpIsNull() {
            addCriterion("last_login_ip is null");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpIsNotNull() {
            addCriterion("last_login_ip is not null");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpEqualTo(String value) {
            addCriterion("last_login_ip =", value, "lastLoginIp");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpNotEqualTo(String value) {
            addCriterion("last_login_ip <>", value, "lastLoginIp");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpGreaterThan(String value) {
            addCriterion("last_login_ip >", value, "lastLoginIp");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpGreaterThanOrEqualTo(String value) {
            addCriterion("last_login_ip >=", value, "lastLoginIp");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpLessThan(String value) {
            addCriterion("last_login_ip <", value, "lastLoginIp");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpLessThanOrEqualTo(String value) {
            addCriterion("last_login_ip <=", value, "lastLoginIp");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpLike(String value) {
            addCriterion("last_login_ip like", value, "lastLoginIp");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpNotLike(String value) {
            addCriterion("last_login_ip not like", value, "lastLoginIp");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpIn(List<String> values) {
            addCriterion("last_login_ip in", values, "lastLoginIp");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpNotIn(List<String> values) {
            addCriterion("last_login_ip not in", values, "lastLoginIp");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpBetween(String value1, String value2) {
            addCriterion("last_login_ip between", value1, value2, "lastLoginIp");
            return (Criteria) this;
        }

        public Criteria andLastLoginIpNotBetween(String value1, String value2) {
            addCriterion("last_login_ip not between", value1, value2, "lastLoginIp");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIsNull() {
            addCriterion("is_enabled is null");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIsNotNull() {
            addCriterion("is_enabled is not null");
            return (Criteria) this;
        }

        public Criteria andIsEnabledEqualTo(Byte value) {
            addCriterion("is_enabled =", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotEqualTo(Byte value) {
            addCriterion("is_enabled <>", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledGreaterThan(Byte value) {
            addCriterion("is_enabled >", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_enabled >=", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLessThan(Byte value) {
            addCriterion("is_enabled <", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLessThanOrEqualTo(Byte value) {
            addCriterion("is_enabled <=", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIn(List<Byte> values) {
            addCriterion("is_enabled in", values, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotIn(List<Byte> values) {
            addCriterion("is_enabled not in", values, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledBetween(Byte value1, Byte value2) {
            addCriterion("is_enabled between", value1, value2, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotBetween(Byte value1, Byte value2) {
            addCriterion("is_enabled not between", value1, value2, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNull() {
            addCriterion("is_deleted is null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNotNull() {
            addCriterion("is_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedEqualTo(Byte value) {
            addCriterion("is_deleted =", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotEqualTo(Byte value) {
            addCriterion("is_deleted <>", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThan(Byte value) {
            addCriterion("is_deleted >", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_deleted >=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThan(Byte value) {
            addCriterion("is_deleted <", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThanOrEqualTo(Byte value) {
            addCriterion("is_deleted <=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIn(List<Byte> values) {
            addCriterion("is_deleted in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotIn(List<Byte> values) {
            addCriterion("is_deleted not in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedBetween(Byte value1, Byte value2) {
            addCriterion("is_deleted between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotBetween(Byte value1, Byte value2) {
            addCriterion("is_deleted not between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(Long value) {
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(Long value) {
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(Long value) {
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(Long value) {
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(Long value) {
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<Long> values) {
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<Long> values) {
            addCriterion("create_user_id not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(Long value1, Long value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(Long value1, Long value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameIsNull() {
            addCriterion("create_user_name is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameIsNotNull() {
            addCriterion("create_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameEqualTo(String value) {
            addCriterion("create_user_name =", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotEqualTo(String value) {
            addCriterion("create_user_name <>", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameGreaterThan(String value) {
            addCriterion("create_user_name >", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("create_user_name >=", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameLessThan(String value) {
            addCriterion("create_user_name <", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameLessThanOrEqualTo(String value) {
            addCriterion("create_user_name <=", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameLike(String value) {
            addCriterion("create_user_name like", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotLike(String value) {
            addCriterion("create_user_name not like", value, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameIn(List<String> values) {
            addCriterion("create_user_name in", values, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotIn(List<String> values) {
            addCriterion("create_user_name not in", values, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameBetween(String value1, String value2) {
            addCriterion("create_user_name between", value1, value2, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotBetween(String value1, String value2) {
            addCriterion("create_user_name not between", value1, value2, "createUserName");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNull() {
            addCriterion("update_user_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNotNull() {
            addCriterion("update_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdEqualTo(Long value) {
            addCriterion("update_user_id =", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotEqualTo(Long value) {
            addCriterion("update_user_id <>", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThan(Long value) {
            addCriterion("update_user_id >", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("update_user_id >=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThan(Long value) {
            addCriterion("update_user_id <", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThanOrEqualTo(Long value) {
            addCriterion("update_user_id <=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIn(List<Long> values) {
            addCriterion("update_user_id in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotIn(List<Long> values) {
            addCriterion("update_user_id not in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdBetween(Long value1, Long value2) {
            addCriterion("update_user_id between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotBetween(Long value1, Long value2) {
            addCriterion("update_user_id not between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameIsNull() {
            addCriterion("update_user_name is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameIsNotNull() {
            addCriterion("update_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameEqualTo(String value) {
            addCriterion("update_user_name =", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotEqualTo(String value) {
            addCriterion("update_user_name <>", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameGreaterThan(String value) {
            addCriterion("update_user_name >", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("update_user_name >=", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameLessThan(String value) {
            addCriterion("update_user_name <", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameLessThanOrEqualTo(String value) {
            addCriterion("update_user_name <=", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameLike(String value) {
            addCriterion("update_user_name like", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotLike(String value) {
            addCriterion("update_user_name not like", value, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameIn(List<String> values) {
            addCriterion("update_user_name in", values, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotIn(List<String> values) {
            addCriterion("update_user_name not in", values, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameBetween(String value1, String value2) {
            addCriterion("update_user_name between", value1, value2, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNameNotBetween(String value1, String value2) {
            addCriterion("update_user_name not between", value1, value2, "updateUserName");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}